Release 10.1A: OpenEdge Data Management:
SQL Reference
CHAR
Returns a character string with the first character having an
ASCIIvalue equal to the argument expression.CHARis identical toCHRbut provides ODBC-compatible syntax.Syntax
Example
This example illustrates the
CHARfunction:
Notes
- The argument to the function must be of type
INTEGER,TINYINT, orSMALLINT.- The result is of type
CHARACTER.- If the argument
integer_expressionevaluates toNULL, the result isNULL.- The
CHARandCHRfunctions are character-set dependent and support single-byte and multi-byte characters. Ifinteger_expressionis a valid character encoding integer value in the current SQL server character set, the function returns the correct character. If it is not a valid character, the function returns aNULLvalue.Compatibility
ODBC compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |